<?php
class Z4sinhvienpt extends AppModel {

	var $name = 'Z4sinhvienpt';
	var $validate = array(
		'sinhvien_id' => array('notempty'),
		'hoten' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed
	var $belongsTo = array(
		'Sinhvien' => array(
			'className' => 'Sinhvien',
			'foreignKey' => 'sinhvien_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		),
		'Hocky' => array(
			'className' => 'Hocky',
			'foreignKey' => 'hocky_id',
			'conditions' => '',
			'fields' => '',
			'order' => ''
		)
	);

}
?>